<template>
	<view>
		<view class="uni-padding-wrap uni-common-mt">
			<navigator url="/pages/components/navigate/navigate?User=yangjing&userid=666">
				<button type="default">跳转到新页面</button>
			</navigator>
			<navigator url="/pages/components/redirect/redirect?title=redirect" open-type="redirect">
				<button type="default">在当前页打开</button>
			</navigator>
			<navigator v-if="!hasLeftWin" url="/pages/tabBar/api/api" open-type="switchTab">
				<button type="default">跳转到Tab页面</button>
			</navigator>
			<navigator url="/pages/tabBar/lifecycle/lifecycle">
								<button>页面生命周期测试</button></navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
button{
	margin: 20rpx;
}
</style>
